.class public Ladapter/FramentOrder11111;
.super Landroid/support/v4/app/Fragment;
.source "FramentOrder11111.java"


# annotations
.annotation build Landroid/annotation/SuppressLint;
    value = {
        "NewApi"
    }
.end annotation

.annotation build Landroid/annotation/TargetApi;
    value = 0xb
.end annotation

.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Ladapter/FramentOrder11111$GoodsAdapter;,
        Ladapter/FramentOrder11111$MyHolder;
    }
.end annotation


# static fields
.field public static handler:Landroid/os/Handler;


# instance fields
.field private AnimationDuration:I

.field private GoodsBean2s:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lcom/example/m6shop/GoodsBean2;",
            ">;"
        }
    .end annotation
.end field

.field private adapter:Ladapter/FramentOrder11111$GoodsAdapter;

.field private anim_mask_layout:Landroid/view/ViewGroup;

.field private beans2:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lcom/example/m6shop/GoodsBean2;",
            ">;"
        }
    .end annotation
.end field

.field private buyImg:Landroid/widget/ImageView;

.field private ca:Ladapter/PupCarAdapter11;

.field private close:Landroid/widget/TextView;

.field private contentView:Landroid/view/View;

.field private context:Landroid/content/Context;

.field private cursor:Landroid/database/Cursor;

.field private cv:Landroid/content/ContentValues;

.field private db:Landroid/database/sqlite/SQLiteDatabase;

.field private del:Landroid/widget/TextView;

.field private goodsstyles:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lbean/ShoptypeBean;",
            ">;"
        }
    .end annotation
.end field

.field private goodsstyles2:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lbean/ShoptypeBean;",
            ">;"
        }
    .end annotation
.end field

.field private gv_goodds:Landroid/widget/GridView;

.field private helper:Lmyclass/DBOpenHelper;

.field horizontalstyle:Landroid/widget/HorizontalScrollView;

.field private inflater:Landroid/view/LayoutInflater;

.field private list:Landroid/widget/ListView;

.field private ll_pay:Landroid/widget/LinearLayout;

.field private lv_goodsstyle:Landroid/widget/ListView;

.field private m:Lmyapp/MyApp;

.field private open:Ljava/lang/String;

.field private order_num:Lorg/com/cctest/view/BadgeView;

.field private order_total:Landroid/widget/TextView;

.field private root_shoptype2:Landroid/widget/LinearLayout;

.field private shopid:Ljava/lang/String;

.field private shopname:Ljava/lang/String;

.field private shopnotice:Landroid/widget/TextView;

.field private shoptTypeAdapter2:Ladapter/ShoptTypeAdapter2;

.field private shoptype2:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lbean/ShoptypeBean;",
            ">;"
        }
    .end annotation
.end field

.field private shoptype2Views:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Landroid/view/View;",
            ">;"
        }
    .end annotation
.end field

.field view:Landroid/view/View;


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 90
    invoke-direct {p0}, Landroid/support/v4/app/Fragment;-><init>()V

    .line 126
    const-string v0, ""

    iput-object v0, p0, Ladapter/FramentOrder11111;->shopid:Ljava/lang/String;

    .line 127
    const-string v0, ""

    iput-object v0, p0, Ladapter/FramentOrder11111;->shopname:Ljava/lang/String;

    .line 136
    const/16 v0, 0x320

    iput v0, p0, Ladapter/FramentOrder11111;->AnimationDuration:I

    .line 149
    const-string v0, ""

    iput-object v0, p0, Ladapter/FramentOrder11111;->open:Ljava/lang/String;

    .line 90
    return-void
.end method

.method static synthetic access$0(Ladapter/FramentOrder11111;)Landroid/content/Context;
    .locals 1

    .prologue
    .line 94
    iget-object v0, p0, Ladapter/FramentOrder11111;->context:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$1(Ladapter/FramentOrder11111;)Ljava/util/ArrayList;
    .locals 1

    .prologue
    .line 133
    iget-object v0, p0, Ladapter/FramentOrder11111;->beans2:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic access$10(Ladapter/FramentOrder11111;)Ljava/util/ArrayList;
    .locals 1

    .prologue
    .line 123
    iget-object v0, p0, Ladapter/FramentOrder11111;->GoodsBean2s:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic access$11(Ladapter/FramentOrder11111;)Ljava/util/ArrayList;
    .locals 1

    .prologue
    .line 112
    iget-object v0, p0, Ladapter/FramentOrder11111;->shoptype2:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic access$12(Ladapter/FramentOrder11111;Ladapter/FramentOrder11111$GoodsAdapter;)V
    .locals 0

    .prologue
    .line 124
    iput-object p1, p0, Ladapter/FramentOrder11111;->adapter:Ladapter/FramentOrder11111$GoodsAdapter;

    return-void
.end method

.method static synthetic access$13(Ladapter/FramentOrder11111;)Landroid/widget/GridView;
    .locals 1

    .prologue
    .line 122
    iget-object v0, p0, Ladapter/FramentOrder11111;->gv_goodds:Landroid/widget/GridView;

    return-object v0
.end method

.method static synthetic access$14(Ladapter/FramentOrder11111;)Ladapter/FramentOrder11111$GoodsAdapter;
    .locals 1

    .prologue
    .line 124
    iget-object v0, p0, Ladapter/FramentOrder11111;->adapter:Ladapter/FramentOrder11111$GoodsAdapter;

    return-object v0
.end method

.method static synthetic access$15(Ladapter/FramentOrder11111;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 106
    iget-object v0, p0, Ladapter/FramentOrder11111;->shopnotice:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$16(Ladapter/FramentOrder11111;)Ljava/util/ArrayList;
    .locals 1

    .prologue
    .line 110
    iget-object v0, p0, Ladapter/FramentOrder11111;->goodsstyles2:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic access$17(Ladapter/FramentOrder11111;)Ljava/util/List;
    .locals 1

    .prologue
    .line 648
    invoke-direct {p0}, Ladapter/FramentOrder11111;->getAllGoodsBean2List()Ljava/util/List;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$18(Ladapter/FramentOrder11111;Ladapter/PupCarAdapter11;)V
    .locals 0

    .prologue
    .line 140
    iput-object p1, p0, Ladapter/FramentOrder11111;->ca:Ladapter/PupCarAdapter11;

    return-void
.end method

.method static synthetic access$19(Ladapter/FramentOrder11111;)Landroid/widget/ListView;
    .locals 1

    .prologue
    .line 142
    iget-object v0, p0, Ladapter/FramentOrder11111;->list:Landroid/widget/ListView;

    return-object v0
.end method

.method static synthetic access$2(Ladapter/FramentOrder11111;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 149
    iget-object v0, p0, Ladapter/FramentOrder11111;->open:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$20(Ladapter/FramentOrder11111;)Ladapter/PupCarAdapter11;
    .locals 1

    .prologue
    .line 140
    iget-object v0, p0, Ladapter/FramentOrder11111;->ca:Ladapter/PupCarAdapter11;

    return-object v0
.end method

.method static synthetic access$21(Ladapter/FramentOrder11111;)Ladapter/ShoptTypeAdapter2;
    .locals 1

    .prologue
    .line 117
    iget-object v0, p0, Ladapter/FramentOrder11111;->shoptTypeAdapter2:Ladapter/ShoptTypeAdapter2;

    return-object v0
.end method

.method static synthetic access$22(Ladapter/FramentOrder11111;)Lorg/com/cctest/view/BadgeView;
    .locals 1

    .prologue
    .line 138
    iget-object v0, p0, Ladapter/FramentOrder11111;->order_num:Lorg/com/cctest/view/BadgeView;

    return-object v0
.end method

.method static synthetic access$23(Ladapter/FramentOrder11111;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 139
    iget-object v0, p0, Ladapter/FramentOrder11111;->order_total:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$24(Ladapter/FramentOrder11111;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 143
    iget-object v0, p0, Ladapter/FramentOrder11111;->del:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$25(Ladapter/FramentOrder11111;)Landroid/database/sqlite/SQLiteDatabase;
    .locals 1

    .prologue
    .line 98
    iget-object v0, p0, Ladapter/FramentOrder11111;->db:Landroid/database/sqlite/SQLiteDatabase;

    return-object v0
.end method

.method static synthetic access$26(Ladapter/FramentOrder11111;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 145
    iget-object v0, p0, Ladapter/FramentOrder11111;->close:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$27(Ladapter/FramentOrder11111;)Ljava/util/ArrayList;
    .locals 1

    .prologue
    .line 120
    iget-object v0, p0, Ladapter/FramentOrder11111;->shoptype2Views:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic access$28(Ladapter/FramentOrder11111;)Lmyapp/MyApp;
    .locals 1

    .prologue
    .line 92
    iget-object v0, p0, Ladapter/FramentOrder11111;->m:Lmyapp/MyApp;

    return-object v0
.end method

.method static synthetic access$3(Ladapter/FramentOrder11111;Landroid/widget/ImageView;)V
    .locals 0

    .prologue
    .line 135
    iput-object p1, p0, Ladapter/FramentOrder11111;->buyImg:Landroid/widget/ImageView;

    return-void
.end method

.method static synthetic access$4(Ladapter/FramentOrder11111;)Landroid/widget/ImageView;
    .locals 1

    .prologue
    .line 135
    iget-object v0, p0, Ladapter/FramentOrder11111;->buyImg:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic access$5(Ladapter/FramentOrder11111;Landroid/view/View;[I)V
    .locals 0

    .prologue
    .line 927
    invoke-direct {p0, p1, p2}, Ladapter/FramentOrder11111;->setAnim(Landroid/view/View;[I)V

    return-void
.end method

.method static synthetic access$6(Ladapter/FramentOrder11111;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 126
    iget-object v0, p0, Ladapter/FramentOrder11111;->shopid:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$7(Ladapter/FramentOrder11111;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 127
    iget-object v0, p0, Ladapter/FramentOrder11111;->shopname:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$8(Ladapter/FramentOrder11111;)Ljava/util/ArrayList;
    .locals 1

    .prologue
    .line 118
    iget-object v0, p0, Ladapter/FramentOrder11111;->goodsstyles:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic access$9(Ladapter/FramentOrder11111;I)V
    .locals 0

    .prologue
    .line 484
    invoke-direct {p0, p1}, Ladapter/FramentOrder11111;->selectedGoodsType(I)V

    return-void
.end method

.method private addViewToAnimLayout(Landroid/view/ViewGroup;Landroid/view/View;[I)Landroid/view/View;
    .locals 5
    .param p1, "vg"    # Landroid/view/ViewGroup;
    .param p2, "view"    # Landroid/view/View;
    .param p3, "location"    # [I

    .prologue
    const/4 v4, -0x2

    .line 1006
    const/4 v3, 0x0

    aget v1, p3, v3

    .line 1007
    .local v1, "x":I
    const/4 v3, 0x1

    aget v2, p3, v3

    .line 1008
    .local v2, "y":I
    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v0, v4, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 1011
    .local v0, "lp":Landroid/widget/LinearLayout$LayoutParams;
    iput v1, v0, Landroid/widget/LinearLayout$LayoutParams;->leftMargin:I

    .line 1012
    iput v2, v0, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    .line 1013
    invoke-virtual {p2, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 1014
    return-object p2
.end method

.method private createAnimLayout()Landroid/view/ViewGroup;
    .locals 5

    .prologue
    const/4 v4, -0x1

    .line 992
    invoke-virtual {p0}, Ladapter/FramentOrder11111;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v3

    invoke-virtual {v3}, Landroid/support/v4/app/FragmentActivity;->getWindow()Landroid/view/Window;

    move-result-object v3

    invoke-virtual {v3}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/view/ViewGroup;

    .line 993
    .local v2, "rootView":Landroid/view/ViewGroup;
    new-instance v0, Landroid/widget/LinearLayout;

    iget-object v3, p0, Ladapter/FramentOrder11111;->context:Landroid/content/Context;

    invoke-direct {v0, v3}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 994
    .local v0, "animLayout":Landroid/widget/LinearLayout;
    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v1, v4, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 997
    .local v1, "lp":Landroid/widget/LinearLayout$LayoutParams;
    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 998
    const v3, 0x7fffffff

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setId(I)V

    .line 999
    const v3, 0x106000d

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    .line 1000
    invoke-virtual {v2, v0}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V

    .line 1001
    return-object v0
.end method

.method private getAllGoodsBean2List()Ljava/util/List;
    .locals 13
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List",
            "<",
            "Lcom/example/m6shop/GoodsBean2;",
            ">;"
        }
    .end annotation

    .prologue
    .line 651
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    .line 653
    .local v1, "GoodsBean2s":Ljava/util/List;, "Ljava/util/List<Lcom/example/m6shop/GoodsBean2;>;"
    iget-object v10, p0, Ladapter/FramentOrder11111;->db:Landroid/database/sqlite/SQLiteDatabase;

    new-instance v11, Ljava/lang/StringBuilder;

    const-string v12, "select * from cart where shopid="

    invoke-direct {v11, v12}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v12, p0, Ladapter/FramentOrder11111;->shopid:Ljava/lang/String;

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    invoke-virtual {v11}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v11

    const/4 v12, 0x0

    invoke-virtual {v10, v11, v12}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v3

    .line 654
    .local v3, "cursor":Landroid/database/Cursor;
    :goto_0
    invoke-interface {v3}, Landroid/database/Cursor;->moveToNext()Z

    move-result v10

    if-nez v10, :cond_0

    .line 674
    return-object v1

    .line 655
    :cond_0
    new-instance v0, Lcom/example/m6shop/GoodsBean2;

    invoke-direct {v0}, Lcom/example/m6shop/GoodsBean2;-><init>()V

    .line 656
    .local v0, "GoodsBean2":Lcom/example/m6shop/GoodsBean2;
    const-string v10, "goodsid"

    invoke-interface {v3, v10}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v10

    invoke-interface {v3, v10}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v5

    .line 657
    .local v5, "goodid":Ljava/lang/String;
    const-string v10, "shopid"

    invoke-interface {v3, v10}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v10

    invoke-interface {v3, v10}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v9

    .line 658
    .local v9, "shopid":Ljava/lang/String;
    const-string v10, "goodsname"

    invoke-interface {v3, v10}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v10

    invoke-interface {v3, v10}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v7

    .line 659
    .local v7, "goodsname":Ljava/lang/String;
    const-string v10, "goodscount"

    invoke-interface {v3, v10}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v10

    invoke-interface {v3, v10}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v2

    .line 660
    .local v2, "count":Ljava/lang/String;
    const-string v10, "goodscost"

    invoke-interface {v3, v10}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v10

    invoke-interface {v3, v10}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v6

    .line 661
    .local v6, "goodscost":Ljava/lang/String;
    const-string v10, "pid"

    invoke-interface {v3, v10}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v10

    invoke-interface {v3, v10}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v8

    .line 662
    .local v8, "pid":Ljava/lang/String;
    const-string v10, "pnum"

    invoke-interface {v3, v10}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v10

    invoke-interface {v3, v10}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    .line 664
    .local v4, "ggnum":Ljava/lang/String;
    invoke-virtual {v0, v5}, Lcom/example/m6shop/GoodsBean2;->setId(Ljava/lang/String;)V

    .line 665
    invoke-virtual {v0, v9}, Lcom/example/m6shop/GoodsBean2;->setShopid(Ljava/lang/String;)V

    .line 666
    invoke-virtual {v0, v7}, Lcom/example/m6shop/GoodsBean2;->setname(Ljava/lang/String;)V

    .line 667
    invoke-virtual {v0, v2}, Lcom/example/m6shop/GoodsBean2;->setcounts(Ljava/lang/String;)V

    .line 668
    invoke-static {v6}, Ljava/lang/Float;->valueOf(Ljava/lang/String;)Ljava/lang/Float;

    move-result-object v10

    invoke-virtual {v10}, Ljava/lang/Float;->floatValue()F

    move-result v10

    invoke-virtual {v0, v10}, Lcom/example/m6shop/GoodsBean2;->setcost(F)V

    .line 669
    invoke-virtual {v0, v8}, Lcom/example/m6shop/GoodsBean2;->setGgid(Ljava/lang/String;)V

    .line 670
    invoke-virtual {v0, v4}, Lcom/example/m6shop/GoodsBean2;->setGgnum(Ljava/lang/String;)V

    .line 672
    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0
.end method

.method private getData()V
    .locals 3

    .prologue
    .line 600
    invoke-virtual {p0}, Ladapter/FramentOrder11111;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v1}, Landroid/support/v4/app/FragmentActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    check-cast v1, Lmyapp/MyApp;

    iput-object v1, p0, Ladapter/FramentOrder11111;->m:Lmyapp/MyApp;

    .line 601
    new-instance v1, Lmyclass/DBOpenHelper;

    invoke-virtual {p0}, Ladapter/FramentOrder11111;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    invoke-direct {v1, v2}, Lmyclass/DBOpenHelper;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Ladapter/FramentOrder11111;->helper:Lmyclass/DBOpenHelper;

    .line 602
    iget-object v1, p0, Ladapter/FramentOrder11111;->helper:Lmyclass/DBOpenHelper;

    invoke-virtual {v1}, Lmyclass/DBOpenHelper;->getReadableDatabase()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v1

    iput-object v1, p0, Ladapter/FramentOrder11111;->db:Landroid/database/sqlite/SQLiteDatabase;

    .line 603
    new-instance v1, Landroid/content/ContentValues;

    invoke-direct {v1}, Landroid/content/ContentValues;-><init>()V

    iput-object v1, p0, Ladapter/FramentOrder11111;->cv:Landroid/content/ContentValues;

    .line 604
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iput-object v1, p0, Ladapter/FramentOrder11111;->goodsstyles:Ljava/util/ArrayList;

    .line 605
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iput-object v1, p0, Ladapter/FramentOrder11111;->goodsstyles2:Ljava/util/ArrayList;

    .line 606
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iput-object v1, p0, Ladapter/FramentOrder11111;->shoptype2:Ljava/util/ArrayList;

    .line 607
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iput-object v1, p0, Ladapter/FramentOrder11111;->shoptype2Views:Ljava/util/ArrayList;

    .line 609
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iput-object v1, p0, Ladapter/FramentOrder11111;->GoodsBean2s:Ljava/util/ArrayList;

    .line 611
    invoke-virtual {p0}, Ladapter/FramentOrder11111;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v1}, Landroid/support/v4/app/FragmentActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    .line 612
    .local v0, "intent":Landroid/content/Intent;
    const-string v1, "shopid"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Ladapter/FramentOrder11111;->shopid:Ljava/lang/String;

    .line 613
    const-string v1, ">>>>>>>>>>>>>>>>>"

    iget-object v2, p0, Ladapter/FramentOrder11111;->shopid:Ljava/lang/String;

    invoke-static {v1, v2}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 614
    const-string v1, "shopname"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Ladapter/FramentOrder11111;->shopname:Ljava/lang/String;

    .line 615
    const-string v1, "1"

    iput-object v1, p0, Ladapter/FramentOrder11111;->open:Ljava/lang/String;

    .line 616
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iput-object v1, p0, Ladapter/FramentOrder11111;->beans2:Ljava/util/ArrayList;

    .line 623
    return-void
.end method

.method private getShopResource()V
    .locals 2

    .prologue
    .line 568
    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Ladapter/FramentOrder11111$7;

    invoke-direct {v1, p0}, Ladapter/FramentOrder11111$7;-><init>(Ladapter/FramentOrder11111;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    .line 592
    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    .line 596
    return-void
.end method

.method private initView()V
    .locals 4

    .prologue
    .line 627
    iget-object v1, p0, Ladapter/FramentOrder11111;->view:Landroid/view/View;

    const v2, 0x7f07010f

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/HorizontalScrollView;

    iput-object v1, p0, Ladapter/FramentOrder11111;->horizontalstyle:Landroid/widget/HorizontalScrollView;

    .line 629
    iget-object v1, p0, Ladapter/FramentOrder11111;->horizontalstyle:Landroid/widget/HorizontalScrollView;

    const v2, 0x7f070110

    invoke-virtual {v1, v2}, Landroid/widget/HorizontalScrollView;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    iput-object v1, p0, Ladapter/FramentOrder11111;->root_shoptype2:Landroid/widget/LinearLayout;

    .line 630
    iget-object v1, p0, Ladapter/FramentOrder11111;->view:Landroid/view/View;

    const v2, 0x7f07010e

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ListView;

    iput-object v1, p0, Ladapter/FramentOrder11111;->lv_goodsstyle:Landroid/widget/ListView;

    .line 631
    iget-object v1, p0, Ladapter/FramentOrder11111;->view:Landroid/view/View;

    const v2, 0x7f070111

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/GridView;

    iput-object v1, p0, Ladapter/FramentOrder11111;->gv_goodds:Landroid/widget/GridView;

    .line 632
    iget-object v1, p0, Ladapter/FramentOrder11111;->gv_goodds:Landroid/widget/GridView;

    new-instance v2, Landroid/graphics/drawable/ColorDrawable;

    const/4 v3, 0x0

    invoke-direct {v2, v3}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

    invoke-virtual {v1, v2}, Landroid/widget/GridView;->setSelector(Landroid/graphics/drawable/Drawable;)V

    .line 633
    iget-object v1, p0, Ladapter/FramentOrder11111;->view:Landroid/view/View;

    const v2, 0x7f07010d

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Ladapter/FramentOrder11111;->shopnotice:Landroid/widget/TextView;

    .line 635
    iget-object v1, p0, Ladapter/FramentOrder11111;->view:Landroid/view/View;

    const v2, 0x7f07004e

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Lorg/com/cctest/view/BadgeView;

    iput-object v1, p0, Ladapter/FramentOrder11111;->order_num:Lorg/com/cctest/view/BadgeView;

    .line 636
    iget-object v1, p0, Ladapter/FramentOrder11111;->view:Landroid/view/View;

    const v2, 0x7f070112

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Ladapter/FramentOrder11111;->order_total:Landroid/widget/TextView;

    .line 637
    iget-object v1, p0, Ladapter/FramentOrder11111;->view:Landroid/view/View;

    const v2, 0x7f07004f

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ListView;

    iput-object v1, p0, Ladapter/FramentOrder11111;->list:Landroid/widget/ListView;

    .line 638
    iget-object v1, p0, Ladapter/FramentOrder11111;->context:Landroid/content/Context;

    const v2, 0x7f030059

    const/4 v3, 0x0

    invoke-static {v1, v2, v3}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    .line 639
    .local v0, "dishes_particular_top":Landroid/view/View;
    iget-object v1, p0, Ladapter/FramentOrder11111;->list:Landroid/widget/ListView;

    invoke-virtual {v1, v0}, Landroid/widget/ListView;->addHeaderView(Landroid/view/View;)V

    .line 640
    const v1, 0x7f0701d0

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Ladapter/FramentOrder11111;->del:Landroid/widget/TextView;

    .line 641
    const v1, 0x7f070170

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Ladapter/FramentOrder11111;->close:Landroid/widget/TextView;

    .line 643
    iget-object v1, p0, Ladapter/FramentOrder11111;->view:Landroid/view/View;

    const v2, 0x7f07004a

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    iput-object v1, p0, Ladapter/FramentOrder11111;->ll_pay:Landroid/widget/LinearLayout;

    .line 645
    return-void
.end method

.method private selectedGoodsType(I)V
    .locals 7
    .param p1, "index"    # I

    .prologue
    .line 486
    iget-object v4, p0, Ladapter/FramentOrder11111;->shoptype2:Ljava/util/ArrayList;

    invoke-virtual {v4}, Ljava/util/ArrayList;->clear()V

    .line 488
    iget-object v4, p0, Ladapter/FramentOrder11111;->root_shoptype2:Landroid/widget/LinearLayout;

    invoke-virtual {v4}, Landroid/widget/LinearLayout;->removeAllViews()V

    .line 490
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_0
    iget-object v4, p0, Ladapter/FramentOrder11111;->goodsstyles2:Ljava/util/ArrayList;

    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v4

    if-lt v0, v4, :cond_0

    .line 499
    const/4 v1, 0x0

    .local v1, "j":I
    :goto_1
    iget-object v4, p0, Ladapter/FramentOrder11111;->shoptype2:Ljava/util/ArrayList;

    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v4

    if-lt v1, v4, :cond_2

    .line 562
    return-void

    .line 492
    .end local v1    # "j":I
    :cond_0
    iget-object v4, p0, Ladapter/FramentOrder11111;->goodsstyles2:Ljava/util/ArrayList;

    invoke-virtual {v4, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lbean/ShoptypeBean;

    invoke-virtual {v4}, Lbean/ShoptypeBean;->getParent_id()Ljava/lang/String;

    move-result-object v5

    iget-object v4, p0, Ladapter/FramentOrder11111;->goodsstyles:Ljava/util/ArrayList;

    invoke-virtual {v4, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lbean/ShoptypeBean;

    invoke-virtual {v4}, Lbean/ShoptypeBean;->getId()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v5, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_1

    .line 493
    iget-object v5, p0, Ladapter/FramentOrder11111;->shoptype2:Ljava/util/ArrayList;

    iget-object v4, p0, Ladapter/FramentOrder11111;->goodsstyles2:Ljava/util/ArrayList;

    invoke-virtual {v4, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lbean/ShoptypeBean;

    invoke-virtual {v5, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 490
    :cond_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 501
    .restart local v1    # "j":I
    :cond_2
    iget-object v4, p0, Ladapter/FramentOrder11111;->inflater:Landroid/view/LayoutInflater;

    const v5, 0x7f030038

    const/4 v6, 0x0

    invoke-virtual {v4, v5, v6}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v2

    .line 502
    .local v2, "rootView":Landroid/view/View;
    const v4, 0x7f07019a

    invoke-virtual {v2, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    .line 503
    .local v3, "textView":Landroid/widget/TextView;
    if-nez v1, :cond_3

    .line 505
    iget-object v4, p0, Ladapter/FramentOrder11111;->context:Landroid/content/Context;

    invoke-virtual {v4}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f0200a4

    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setBackground(Landroid/graphics/drawable/Drawable;)V

    .line 506
    iget-object v4, p0, Ladapter/FramentOrder11111;->shoptype2:Ljava/util/ArrayList;

    invoke-virtual {v4, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lbean/ShoptypeBean;

    invoke-virtual {v4}, Lbean/ShoptypeBean;->getname()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 507
    iget-object v4, p0, Ladapter/FramentOrder11111;->context:Landroid/content/Context;

    invoke-virtual {v4}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f080001

    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getColor(I)I

    move-result v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setTextColor(I)V

    .line 513
    :goto_2
    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    invoke-virtual {v2, v4}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    .line 514
    new-instance v4, Ladapter/FramentOrder11111$6;

    invoke-direct {v4, p0, v2}, Ladapter/FramentOrder11111$6;-><init>(Ladapter/FramentOrder11111;Landroid/view/View;)V

    invoke-virtual {v2, v4}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 557
    iget-object v4, p0, Ladapter/FramentOrder11111;->shoptype2Views:Ljava/util/ArrayList;

    invoke-virtual {v4, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 558
    iget-object v4, p0, Ladapter/FramentOrder11111;->root_shoptype2:Landroid/widget/LinearLayout;

    invoke-virtual {v4, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    .line 499
    add-int/lit8 v1, v1, 0x1

    goto/16 :goto_1

    .line 510
    :cond_3
    iget-object v4, p0, Ladapter/FramentOrder11111;->shoptype2:Ljava/util/ArrayList;

    invoke-virtual {v4, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lbean/ShoptypeBean;

    invoke-virtual {v4}, Lbean/ShoptypeBean;->getname()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_2
.end method

.method private setAnim(Landroid/view/View;[I)V
    .locals 19
    .param p1, "v"    # Landroid/view/View;
    .param p2, "start_location"    # [I

    .prologue
    .line 929
    new-instance v3, Landroid/view/animation/ScaleAnimation;

    const/high16 v4, 0x3f000000    # 0.5f

    const/high16 v5, 0x3fc00000    # 1.5f

    const/high16 v6, 0x3f000000    # 0.5f

    const/high16 v7, 0x3fc00000    # 1.5f

    const/4 v8, 0x1

    const/high16 v9, 0x3f000000    # 0.5f

    const/4 v10, 0x1

    const/high16 v11, 0x3f000000    # 0.5f

    invoke-direct/range {v3 .. v11}, Landroid/view/animation/ScaleAnimation;-><init>(FFFFIFIF)V

    .line 930
    .local v3, "mScaleAnimation":Landroid/view/animation/Animation;
    move-object/from16 v0, p0

    iget v4, v0, Ladapter/FramentOrder11111;->AnimationDuration:I

    int-to-long v4, v4

    invoke-virtual {v3, v4, v5}, Landroid/view/animation/Animation;->setDuration(J)V

    .line 931
    const/4 v4, 0x1

    invoke-virtual {v3, v4}, Landroid/view/animation/Animation;->setFillAfter(Z)V

    .line 933
    const/4 v4, 0x0

    move-object/from16 v0, p0

    iput-object v4, v0, Ladapter/FramentOrder11111;->anim_mask_layout:Landroid/view/ViewGroup;

    .line 934
    invoke-direct/range {p0 .. p0}, Ladapter/FramentOrder11111;->createAnimLayout()Landroid/view/ViewGroup;

    move-result-object v4

    move-object/from16 v0, p0

    iput-object v4, v0, Ladapter/FramentOrder11111;->anim_mask_layout:Landroid/view/ViewGroup;

    .line 935
    move-object/from16 v0, p0

    iget-object v4, v0, Ladapter/FramentOrder11111;->anim_mask_layout:Landroid/view/ViewGroup;

    move-object/from16 v0, p1

    invoke-virtual {v4, v0}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V

    .line 936
    move-object/from16 v0, p0

    iget-object v4, v0, Ladapter/FramentOrder11111;->anim_mask_layout:Landroid/view/ViewGroup;

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    move-object/from16 v2, p2

    invoke-direct {v0, v4, v1, v2}, Ladapter/FramentOrder11111;->addViewToAnimLayout(Landroid/view/ViewGroup;Landroid/view/View;[I)Landroid/view/View;

    move-result-object v18

    .line 938
    .local v18, "view":Landroid/view/View;
    const/4 v4, 0x2

    new-array v14, v4, [I

    .line 939
    .local v14, "end_location":[I
    move-object/from16 v0, p0

    iget-object v4, v0, Ladapter/FramentOrder11111;->order_num:Lorg/com/cctest/view/BadgeView;

    invoke-virtual {v4, v14}, Lorg/com/cctest/view/BadgeView;->getLocationInWindow([I)V

    .line 942
    const/4 v4, 0x0

    aget v4, v14, v4

    const/4 v5, 0x0

    aget v5, p2, v5

    sub-int v12, v4, v5

    .line 943
    .local v12, "endX":I
    const/4 v4, 0x1

    aget v4, v14, v4

    const/4 v5, 0x1

    aget v5, p2, v5

    sub-int v13, v4, v5

    .line 944
    .local v13, "endY":I
    new-instance v16, Landroid/view/animation/TranslateAnimation;

    const/4 v4, 0x0

    .line 945
    int-to-float v5, v12

    const/4 v6, 0x0

    const/4 v7, 0x0

    .line 944
    move-object/from16 v0, v16

    invoke-direct {v0, v4, v5, v6, v7}, Landroid/view/animation/TranslateAnimation;-><init>(FFFF)V

    .line 946
    .local v16, "translateAnimationX":Landroid/view/animation/TranslateAnimation;
    new-instance v4, Landroid/view/animation/LinearInterpolator;

    invoke-direct {v4}, Landroid/view/animation/LinearInterpolator;-><init>()V

    move-object/from16 v0, v16

    invoke-virtual {v0, v4}, Landroid/view/animation/TranslateAnimation;->setInterpolator(Landroid/view/animation/Interpolator;)V

    .line 947
    const/4 v4, 0x0

    move-object/from16 v0, v16

    invoke-virtual {v0, v4}, Landroid/view/animation/TranslateAnimation;->setRepeatCount(I)V

    .line 948
    const/4 v4, 0x1

    move-object/from16 v0, v16

    invoke-virtual {v0, v4}, Landroid/view/animation/TranslateAnimation;->setFillAfter(Z)V

    .line 950
    new-instance v17, Landroid/view/animation/TranslateAnimation;

    const/4 v4, 0x0

    const/4 v5, 0x0

    .line 951
    const/4 v6, 0x0

    int-to-float v7, v13

    .line 950
    move-object/from16 v0, v17

    invoke-direct {v0, v4, v5, v6, v7}, Landroid/view/animation/TranslateAnimation;-><init>(FFFF)V

    .line 952
    .local v17, "translateAnimationY":Landroid/view/animation/TranslateAnimation;
    new-instance v4, Landroid/view/animation/AccelerateInterpolator;

    invoke-direct {v4}, Landroid/view/animation/AccelerateInterpolator;-><init>()V

    move-object/from16 v0, v17

    invoke-virtual {v0, v4}, Landroid/view/animation/TranslateAnimation;->setInterpolator(Landroid/view/animation/Interpolator;)V

    .line 953
    const/4 v4, 0x0

    move-object/from16 v0, v17

    invoke-virtual {v0, v4}, Landroid/view/animation/TranslateAnimation;->setRepeatCount(I)V

    .line 954
    const/4 v4, 0x1

    move-object/from16 v0, v16

    invoke-virtual {v0, v4}, Landroid/view/animation/TranslateAnimation;->setFillAfter(Z)V

    .line 955
    new-instance v15, Landroid/view/animation/AnimationSet;

    const/4 v4, 0x0

    invoke-direct {v15, v4}, Landroid/view/animation/AnimationSet;-><init>(Z)V

    .line 956
    .local v15, "set":Landroid/view/animation/AnimationSet;
    const/4 v4, 0x0

    invoke-virtual {v15, v4}, Landroid/view/animation/AnimationSet;->setFillAfter(Z)V

    .line 957
    invoke-virtual {v15, v3}, Landroid/view/animation/AnimationSet;->addAnimation(Landroid/view/animation/Animation;)V

    .line 958
    move-object/from16 v0, v17

    invoke-virtual {v15, v0}, Landroid/view/animation/AnimationSet;->addAnimation(Landroid/view/animation/Animation;)V

    .line 959
    invoke-virtual/range {v15 .. v16}, Landroid/view/animation/AnimationSet;->addAnimation(Landroid/view/animation/Animation;)V

    .line 960
    move-object/from16 v0, p0

    iget v4, v0, Ladapter/FramentOrder11111;->AnimationDuration:I

    int-to-long v4, v4

    invoke-virtual {v15, v4, v5}, Landroid/view/animation/AnimationSet;->setDuration(J)V

    .line 961
    move-object/from16 v0, v18

    invoke-virtual {v0, v15}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    .line 963
    new-instance v4, Ladapter/FramentOrder11111$8;

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    invoke-direct {v4, v0, v1}, Ladapter/FramentOrder11111$8;-><init>(Ladapter/FramentOrder11111;Landroid/view/View;)V

    invoke-virtual {v15, v4}, Landroid/view/animation/AnimationSet;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    .line 983
    return-void
.end method

.method public static setListViewHeightBasedOnChildren(Landroid/widget/GridView;)V
    .locals 10
    .param p0, "listView"    # Landroid/widget/GridView;
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "NewApi"
        }
    .end annotation

    .prologue
    const/4 v9, 0x0

    const/16 v8, 0xa

    .line 1316
    invoke-virtual {p0}, Landroid/widget/GridView;->getAdapter()Landroid/widget/ListAdapter;

    move-result-object v2

    .line 1317
    .local v2, "listAdapter":Landroid/widget/ListAdapter;
    if-nez v2, :cond_0

    .line 1341
    :goto_0
    return-void

    .line 1321
    :cond_0
    const/4 v0, 0x2

    .line 1322
    .local v0, "col":I
    const/4 v5, 0x0

    .line 1325
    .local v5, "totalHeight":I
    const/4 v1, 0x0

    .local v1, "i":I
    :goto_1
    invoke-interface {v2}, Landroid/widget/ListAdapter;->getCount()I

    move-result v6

    if-lt v1, v6, :cond_1

    .line 1334
    invoke-virtual {p0}, Landroid/widget/GridView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v4

    .line 1336
    .local v4, "params":Landroid/view/ViewGroup$LayoutParams;
    iput v5, v4, Landroid/view/ViewGroup$LayoutParams;->height:I

    move-object v6, v4

    .line 1338
    check-cast v6, Landroid/view/ViewGroup$MarginLayoutParams;

    invoke-virtual {v6, v8, v8, v8, v8}, Landroid/view/ViewGroup$MarginLayoutParams;->setMargins(IIII)V

    .line 1340
    invoke-virtual {p0, v4}, Landroid/widget/GridView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    goto :goto_0

    .line 1327
    .end local v4    # "params":Landroid/view/ViewGroup$LayoutParams;
    :cond_1
    const/4 v6, 0x0

    invoke-interface {v2, v1, v6, p0}, Landroid/widget/ListAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v3

    .line 1328
    .local v3, "listItem":Landroid/view/View;
    invoke-virtual {v3, v9, v9}, Landroid/view/View;->measure(II)V

    .line 1330
    invoke-virtual {v3}, Landroid/view/View;->getMeasuredHeight()I

    move-result v6

    invoke-virtual {p0}, Landroid/widget/GridView;->getVerticalSpacing()I

    move-result v7

    add-int/2addr v6, v7

    add-int/2addr v5, v6

    .line 1325
    add-int/2addr v1, v0

    goto :goto_1
.end method


# virtual methods
.method public addcar(Lcom/example/m6shop/GoodsBean2;)Z
    .locals 8
    .param p1, "bb"    # Lcom/example/m6shop/GoodsBean2;

    .prologue
    const/4 v7, 0x0

    const/4 v2, 0x1

    const/4 v1, 0x0

    .line 734
    const/4 v0, 0x0

    .line 735
    .local v0, "indd":I
    iget-object v3, p0, Ladapter/FramentOrder11111;->db:Landroid/database/sqlite/SQLiteDatabase;

    new-instance v4, Ljava/lang/StringBuilder;

    const-string v5, "select * from cart where goodsid="

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {p1}, Lcom/example/m6shop/GoodsBean2;->getId()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4, v7}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v3

    iput-object v3, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    .line 737
    iget-object v3, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    invoke-interface {v3}, Landroid/database/Cursor;->getCount()I

    move-result v3

    if-lez v3, :cond_2

    .line 739
    :goto_0
    iget-object v3, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    invoke-interface {v3}, Landroid/database/Cursor;->moveToNext()Z

    move-result v3

    if-nez v3, :cond_0

    .line 747
    add-int/lit8 v0, v0, 0x1

    .line 748
    const-string v3, "\u6709\u6570\u636e"

    new-instance v4, Ljava/lang/StringBuilder;

    const-string v5, "ischeck "

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-static {v3, v4}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 751
    invoke-virtual {p1}, Lcom/example/m6shop/GoodsBean2;->getcounts()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v3

    if-le v0, v3, :cond_1

    .line 753
    iget-object v2, p0, Ladapter/FramentOrder11111;->context:Landroid/content/Context;

    const-string v3, "\u5e93\u5b58\u4e0d\u8db3"

    invoke-static {v2, v3, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v2

    invoke-virtual {v2}, Landroid/widget/Toast;->show()V

    .line 774
    :goto_1
    return v1

    .line 742
    :cond_0
    iget-object v3, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    iget-object v4, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    const-string v5, "goodscount"

    invoke-interface {v4, v5}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v4

    invoke-interface {v3, v4}, Landroid/database/Cursor;->getInt(I)I

    move-result v0

    goto :goto_0

    .line 758
    :cond_1
    iget-object v1, p0, Ladapter/FramentOrder11111;->cv:Landroid/content/ContentValues;

    const-string v3, "goodscount"

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    invoke-virtual {v1, v3, v4}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V

    .line 759
    iget-object v1, p0, Ladapter/FramentOrder11111;->db:Landroid/database/sqlite/SQLiteDatabase;

    const-string v3, "cart"

    iget-object v4, p0, Ladapter/FramentOrder11111;->cv:Landroid/content/ContentValues;

    new-instance v5, Ljava/lang/StringBuilder;

    const-string v6, "goodsid = \'"

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {p1}, Lcom/example/m6shop/GoodsBean2;->getId()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "\'"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v1, v3, v4, v5, v7}, Landroid/database/sqlite/SQLiteDatabase;->update(Ljava/lang/String;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)I

    .line 768
    :goto_2
    new-instance v1, Ladapter/PupCarAdapter11;

    invoke-virtual {p0}, Ladapter/FramentOrder11111;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v3

    invoke-direct {p0}, Ladapter/FramentOrder11111;->getAllGoodsBean2List()Ljava/util/List;

    move-result-object v4

    invoke-direct {v1, v3, v4}, Ladapter/PupCarAdapter11;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v1, p0, Ladapter/FramentOrder11111;->ca:Ladapter/PupCarAdapter11;

    .line 770
    iget-object v1, p0, Ladapter/FramentOrder11111;->list:Landroid/widget/ListView;

    iget-object v3, p0, Ladapter/FramentOrder11111;->ca:Ladapter/PupCarAdapter11;

    invoke-virtual {v1, v3}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 772
    iget-object v1, p0, Ladapter/FramentOrder11111;->ca:Ladapter/PupCarAdapter11;

    invoke-virtual {v1}, Ladapter/PupCarAdapter11;->notifyDataSetChanged()V

    move v1, v2

    .line 774
    goto :goto_1

    .line 763
    :cond_2
    const/4 v0, 0x1

    .line 764
    iget-object v3, p0, Ladapter/FramentOrder11111;->db:Landroid/database/sqlite/SQLiteDatabase;

    const-string v4, "insert into cart (shopid,goodsid,goodsname,goodscount,goodscost) values(?,?,?,?,?)"

    const/4 v5, 0x5

    new-array v5, v5, [Ljava/lang/Object;

    iget-object v6, p0, Ladapter/FramentOrder11111;->shopid:Ljava/lang/String;

    aput-object v6, v5, v1

    invoke-virtual {p1}, Lcom/example/m6shop/GoodsBean2;->getId()Ljava/lang/String;

    move-result-object v1

    aput-object v1, v5, v2

    const/4 v1, 0x2

    invoke-virtual {p1}, Lcom/example/m6shop/GoodsBean2;->getname()Ljava/lang/String;

    move-result-object v6

    aput-object v6, v5, v1

    const/4 v1, 0x3

    invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v6

    aput-object v6, v5, v1

    const/4 v1, 0x4

    invoke-virtual {p1}, Lcom/example/m6shop/GoodsBean2;->getcost()F

    move-result v6

    invoke-static {v6}, Ljava/lang/String;->valueOf(F)Ljava/lang/String;

    move-result-object v6

    aput-object v6, v5, v1

    invoke-virtual {v3, v4, v5}, Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;[Ljava/lang/Object;)V

    goto :goto_2
.end method

.method public addcart(I)Z
    .locals 2
    .param p1, "index"    # I

    .prologue
    .line 787
    iget-object v1, p0, Ladapter/FramentOrder11111;->beans2:Ljava/util/ArrayList;

    invoke-virtual {v1, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/example/m6shop/GoodsBean2;

    .line 791
    .local v0, "bb":Lcom/example/m6shop/GoodsBean2;
    invoke-virtual {p0, v0}, Ladapter/FramentOrder11111;->addcar(Lcom/example/m6shop/GoodsBean2;)Z

    move-result v1

    return v1
.end method

.method public addcart2(I)V
    .locals 2
    .param p1, "index"    # I

    .prologue
    .line 726
    invoke-direct {p0}, Ladapter/FramentOrder11111;->getAllGoodsBean2List()Ljava/util/List;

    move-result-object v1

    invoke-interface {v1, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/example/m6shop/GoodsBean2;

    .line 727
    .local v0, "bb":Lcom/example/m6shop/GoodsBean2;
    invoke-virtual {p0, v0}, Ladapter/FramentOrder11111;->addcar(Lcom/example/m6shop/GoodsBean2;)Z

    .line 730
    return-void
.end method

.method public delcart(I)V
    .locals 9
    .param p1, "index"    # I

    .prologue
    const/4 v8, 0x0

    .line 801
    iget-object v2, p0, Ladapter/FramentOrder11111;->beans2:Ljava/util/ArrayList;

    invoke-virtual {v2, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/example/m6shop/GoodsBean2;

    .line 803
    .local v0, "bean":Lcom/example/m6shop/GoodsBean2;
    const/4 v1, 0x0

    .line 804
    .local v1, "ind":I
    iget-object v2, p0, Ladapter/FramentOrder11111;->db:Landroid/database/sqlite/SQLiteDatabase;

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "select * from cart where goodsid= "

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Lcom/example/m6shop/GoodsBean2;->getId()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3, v8}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v2

    iput-object v2, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    .line 806
    iget-object v2, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    invoke-interface {v2}, Landroid/database/Cursor;->getCount()I

    move-result v2

    if-lez v2, :cond_0

    .line 808
    :goto_0
    iget-object v2, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    invoke-interface {v2}, Landroid/database/Cursor;->moveToNext()Z

    move-result v2

    if-nez v2, :cond_1

    .line 812
    add-int/lit8 v1, v1, -0x1

    .line 814
    if-nez v1, :cond_2

    .line 816
    iget-object v2, p0, Ladapter/FramentOrder11111;->db:Landroid/database/sqlite/SQLiteDatabase;

    const-string v3, "cart"

    new-instance v4, Ljava/lang/StringBuilder;

    const-string v5, "goodsid = \'"

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Lcom/example/m6shop/GoodsBean2;->getId()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "\'"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v3, v4, v8}, Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I

    .line 818
    const-string v2, "\u662f\u5426\u5220\u9664\u6570\u636e\u54ed"

    new-instance v3, Ljava/lang/StringBuilder;

    iget-object v4, p0, Ladapter/FramentOrder11111;->db:Landroid/database/sqlite/SQLiteDatabase;

    const-string v5, "cart"

    new-instance v6, Ljava/lang/StringBuilder;

    const-string v7, "goodsid = \'"

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Lcom/example/m6shop/GoodsBean2;->getId()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v7, "\'"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v4, v5, v6, v8}, Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I

    move-result v4

    invoke-static {v4}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 829
    :cond_0
    :goto_1
    new-instance v2, Ladapter/PupCarAdapter11;

    invoke-virtual {p0}, Ladapter/FramentOrder11111;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v3

    invoke-direct {p0}, Ladapter/FramentOrder11111;->getAllGoodsBean2List()Ljava/util/List;

    move-result-object v4

    invoke-direct {v2, v3, v4}, Ladapter/PupCarAdapter11;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v2, p0, Ladapter/FramentOrder11111;->ca:Ladapter/PupCarAdapter11;

    .line 831
    iget-object v2, p0, Ladapter/FramentOrder11111;->list:Landroid/widget/ListView;

    iget-object v3, p0, Ladapter/FramentOrder11111;->ca:Ladapter/PupCarAdapter11;

    invoke-virtual {v2, v3}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 833
    iget-object v2, p0, Ladapter/FramentOrder11111;->ca:Ladapter/PupCarAdapter11;

    invoke-virtual {v2}, Ladapter/PupCarAdapter11;->notifyDataSetChanged()V

    .line 835
    return-void

    .line 809
    :cond_1
    iget-object v2, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    iget-object v3, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    const-string v4, "goodscount"

    invoke-interface {v3, v4}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v3

    invoke-interface {v2, v3}, Landroid/database/Cursor;->getInt(I)I

    move-result v1

    goto/16 :goto_0

    .line 822
    :cond_2
    iget-object v2, p0, Ladapter/FramentOrder11111;->cv:Landroid/content/ContentValues;

    const-string v3, "goodscount"

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    invoke-virtual {v2, v3, v4}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V

    .line 823
    iget-object v2, p0, Ladapter/FramentOrder11111;->db:Landroid/database/sqlite/SQLiteDatabase;

    const-string v3, "cart"

    iget-object v4, p0, Ladapter/FramentOrder11111;->cv:Landroid/content/ContentValues;

    new-instance v5, Ljava/lang/StringBuilder;

    const-string v6, "goodsid = \'"

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Lcom/example/m6shop/GoodsBean2;->getId()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "\'"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v2, v3, v4, v5, v8}, Landroid/database/sqlite/SQLiteDatabase;->update(Ljava/lang/String;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)I

    goto :goto_1
.end method

.method public delcart2(I)V
    .locals 9
    .param p1, "index"    # I

    .prologue
    const/4 v8, 0x0

    .line 843
    invoke-direct {p0}, Ladapter/FramentOrder11111;->getAllGoodsBean2List()Ljava/util/List;

    move-result-object v2

    invoke-interface {v2, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/example/m6shop/GoodsBean2;

    .line 845
    .local v0, "bean":Lcom/example/m6shop/GoodsBean2;
    const/4 v1, 0x0

    .line 846
    .local v1, "ind":I
    iget-object v2, p0, Ladapter/FramentOrder11111;->db:Landroid/database/sqlite/SQLiteDatabase;

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "select * from cart where goodsid= "

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Lcom/example/m6shop/GoodsBean2;->getId()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3, v8}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v2

    iput-object v2, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    .line 848
    iget-object v2, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    invoke-interface {v2}, Landroid/database/Cursor;->getCount()I

    move-result v2

    if-lez v2, :cond_0

    .line 850
    :goto_0
    iget-object v2, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    invoke-interface {v2}, Landroid/database/Cursor;->moveToNext()Z

    move-result v2

    if-nez v2, :cond_1

    .line 854
    add-int/lit8 v1, v1, -0x1

    .line 856
    if-nez v1, :cond_2

    .line 858
    iget-object v2, p0, Ladapter/FramentOrder11111;->db:Landroid/database/sqlite/SQLiteDatabase;

    const-string v3, "cart"

    new-instance v4, Ljava/lang/StringBuilder;

    const-string v5, "goodsid = \'"

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Lcom/example/m6shop/GoodsBean2;->getId()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "\'"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v3, v4, v8}, Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I

    .line 860
    const-string v2, "\u662f\u5426\u5220\u9664\u6570\u636e\u54ed"

    new-instance v3, Ljava/lang/StringBuilder;

    iget-object v4, p0, Ladapter/FramentOrder11111;->db:Landroid/database/sqlite/SQLiteDatabase;

    const-string v5, "cart"

    new-instance v6, Ljava/lang/StringBuilder;

    const-string v7, "goodsid = \'"

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Lcom/example/m6shop/GoodsBean2;->getId()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v7, "\'"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v4, v5, v6, v8}, Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I

    move-result v4

    invoke-static {v4}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 871
    :cond_0
    :goto_1
    return-void

    .line 851
    :cond_1
    iget-object v2, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    iget-object v3, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    const-string v4, "goodscount"

    invoke-interface {v3, v4}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v3

    invoke-interface {v2, v3}, Landroid/database/Cursor;->getInt(I)I

    move-result v1

    goto :goto_0

    .line 864
    :cond_2
    iget-object v2, p0, Ladapter/FramentOrder11111;->cv:Landroid/content/ContentValues;

    const-string v3, "goodscount"

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    invoke-virtual {v2, v3, v4}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V

    .line 865
    iget-object v2, p0, Ladapter/FramentOrder11111;->db:Landroid/database/sqlite/SQLiteDatabase;

    const-string v3, "cart"

    iget-object v4, p0, Ladapter/FramentOrder11111;->cv:Landroid/content/ContentValues;

    new-instance v5, Ljava/lang/StringBuilder;

    const-string v6, "goodsid = \'"

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Lcom/example/m6shop/GoodsBean2;->getId()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "\'"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v2, v3, v4, v5, v8}, Landroid/database/sqlite/SQLiteDatabase;->update(Ljava/lang/String;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)I

    goto :goto_1
.end method

.method public getCarTotalPrice(Ljava/lang/String;)V
    .locals 7
    .param p1, "shopid"    # Ljava/lang/String;

    .prologue
    const/high16 v6, 0x42c80000    # 100.0f

    .line 878
    iget-object v1, p0, Ladapter/FramentOrder11111;->db:Landroid/database/sqlite/SQLiteDatabase;

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "select * from cart where shopid ="

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x0

    invoke-virtual {v1, v2, v3}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v1

    iput-object v1, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    .line 880
    const/4 v0, 0x0

    .line 882
    .local v0, "total":F
    iget-object v1, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    invoke-interface {v1}, Landroid/database/Cursor;->getCount()I

    move-result v1

    if-lez v1, :cond_0

    .line 884
    :goto_0
    iget-object v1, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    invoke-interface {v1}, Landroid/database/Cursor;->moveToNext()Z

    move-result v1

    if-nez v1, :cond_1

    .line 893
    :cond_0
    const-string v1, "\u8d2d\u7269\u8f66\u6570\u91cf"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(F)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 895
    iget-object v1, p0, Ladapter/FramentOrder11111;->order_total:Landroid/widget/TextView;

    new-instance v2, Ljava/lang/StringBuilder;

    mul-float v3, v0, v6

    invoke-static {v3}, Ljava/lang/Math;->round(F)I

    move-result v3

    int-to-float v3, v3

    div-float/2addr v3, v6

    invoke-static {v3}, Ljava/lang/String;->valueOf(F)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 897
    return-void

    .line 886
    :cond_1
    iget-object v1, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    iget-object v2, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    const-string v3, "goodscount"

    invoke-interface {v2, v3}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v2

    invoke-interface {v1, v2}, Landroid/database/Cursor;->getFloat(I)F

    move-result v1

    iget-object v2, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    iget-object v3, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    const-string v4, "goodscost"

    invoke-interface {v3, v4}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v3

    invoke-interface {v2, v3}, Landroid/database/Cursor;->getFloat(I)F

    move-result v2

    mul-float/2addr v1, v2

    iget-object v2, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    iget-object v3, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    const-string v4, "goodscost"

    invoke-interface {v3, v4}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v3

    invoke-interface {v2, v3}, Landroid/database/Cursor;->getFloat(I)F

    move-result v2

    iget-object v3, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    iget-object v4, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    const-string v5, "pnum"

    invoke-interface {v4, v5}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v4

    invoke-interface {v3, v4}, Landroid/database/Cursor;->getFloat(I)F

    move-result v3

    mul-float/2addr v2, v3

    add-float/2addr v1, v2

    add-float/2addr v0, v1

    goto :goto_0
.end method

.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 4
    .param p1, "inflater"    # Landroid/view/LayoutInflater;
    .param p2, "container"    # Landroid/view/ViewGroup;
    .param p3, "savedInstanceState"    # Landroid/os/Bundle;
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "NewApi"
        }
    .end annotation

    .prologue
    const/4 v2, 0x0

    .line 156
    iput-object p1, p0, Ladapter/FramentOrder11111;->inflater:Landroid/view/LayoutInflater;

    .line 157
    const v1, 0x7f03002c

    invoke-virtual {p1, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    iput-object v1, p0, Ladapter/FramentOrder11111;->view:Landroid/view/View;

    .line 159
    const v1, 0x7f030023

    invoke-virtual {p1, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    iput-object v1, p0, Ladapter/FramentOrder11111;->contentView:Landroid/view/View;

    .line 161
    invoke-virtual {p0}, Ladapter/FramentOrder11111;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    iput-object v1, p0, Ladapter/FramentOrder11111;->context:Landroid/content/Context;

    .line 163
    invoke-direct {p0}, Ladapter/FramentOrder11111;->getData()V

    .line 165
    invoke-direct {p0}, Ladapter/FramentOrder11111;->initView()V

    .line 168
    iget-object v1, p0, Ladapter/FramentOrder11111;->ll_pay:Landroid/widget/LinearLayout;

    new-instance v2, Ladapter/FramentOrder11111$1;

    invoke-direct {v2, p0}, Ladapter/FramentOrder11111$1;-><init>(Ladapter/FramentOrder11111;)V

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 189
    invoke-direct {p0}, Ladapter/FramentOrder11111;->getShopResource()V

    .line 190
    new-instance v1, Ladapter/FramentOrder11111$2;

    invoke-direct {v1, p0}, Ladapter/FramentOrder11111$2;-><init>(Ladapter/FramentOrder11111;)V

    sput-object v1, Ladapter/FramentOrder11111;->handler:Landroid/os/Handler;

    .line 384
    new-instance v1, Ladapter/ShoptTypeAdapter2;

    invoke-virtual {p0}, Ladapter/FramentOrder11111;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    iget-object v3, p0, Ladapter/FramentOrder11111;->goodsstyles:Ljava/util/ArrayList;

    invoke-direct {v1, v2, v3}, Ladapter/ShoptTypeAdapter2;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v1, p0, Ladapter/FramentOrder11111;->shoptTypeAdapter2:Ladapter/ShoptTypeAdapter2;

    .line 385
    iget-object v1, p0, Ladapter/FramentOrder11111;->lv_goodsstyle:Landroid/widget/ListView;

    iget-object v2, p0, Ladapter/FramentOrder11111;->shoptTypeAdapter2:Ladapter/ShoptTypeAdapter2;

    invoke-virtual {v1, v2}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 386
    iget-object v1, p0, Ladapter/FramentOrder11111;->lv_goodsstyle:Landroid/widget/ListView;

    new-instance v2, Ladapter/FramentOrder11111$3;

    invoke-direct {v2, p0}, Ladapter/FramentOrder11111$3;-><init>(Ladapter/FramentOrder11111;)V

    invoke-virtual {v1, v2}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    .line 419
    iget-object v1, p0, Ladapter/FramentOrder11111;->gv_goodds:Landroid/widget/GridView;

    new-instance v2, Ladapter/FramentOrder11111$4;

    invoke-direct {v2, p0}, Ladapter/FramentOrder11111$4;-><init>(Ladapter/FramentOrder11111;)V

    invoke-virtual {v1, v2}, Landroid/widget/GridView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    .line 432
    iget-object v1, p0, Ladapter/FramentOrder11111;->view:Landroid/view/View;

    const v2, 0x7f070115

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    .line 433
    .local v0, "search":Landroid/widget/RelativeLayout;
    new-instance v1, Ladapter/FramentOrder11111$5;

    invoke-direct {v1, p0}, Ladapter/FramentOrder11111$5;-><init>(Ladapter/FramentOrder11111;)V

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 478
    iget-object v1, p0, Ladapter/FramentOrder11111;->view:Landroid/view/View;

    return-object v1
.end method

.method public onStart()V
    .locals 3

    .prologue
    .line 1020
    invoke-super {p0}, Landroid/support/v4/app/Fragment;->onStart()V

    .line 1021
    iget-object v0, p0, Ladapter/FramentOrder11111;->shopid:Ljava/lang/String;

    invoke-virtual {p0, v0}, Ladapter/FramentOrder11111;->searchCar(Ljava/lang/String;)I

    .line 1022
    iget-object v0, p0, Ladapter/FramentOrder11111;->shopid:Ljava/lang/String;

    invoke-virtual {p0, v0}, Ladapter/FramentOrder11111;->getCarTotalPrice(Ljava/lang/String;)V

    .line 1023
    iget-object v0, p0, Ladapter/FramentOrder11111;->adapter:Ladapter/FramentOrder11111$GoodsAdapter;

    if-eqz v0, :cond_0

    .line 1025
    iget-object v0, p0, Ladapter/FramentOrder11111;->adapter:Ladapter/FramentOrder11111$GoodsAdapter;

    invoke-virtual {v0}, Ladapter/FramentOrder11111$GoodsAdapter;->notifyDataSetChanged()V

    .line 1031
    :cond_0
    new-instance v0, Ladapter/PupCarAdapter11;

    invoke-virtual {p0}, Ladapter/FramentOrder11111;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-direct {p0}, Ladapter/FramentOrder11111;->getAllGoodsBean2List()Ljava/util/List;

    move-result-object v2

    invoke-direct {v0, v1, v2}, Ladapter/PupCarAdapter11;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v0, p0, Ladapter/FramentOrder11111;->ca:Ladapter/PupCarAdapter11;

    .line 1033
    iget-object v0, p0, Ladapter/FramentOrder11111;->list:Landroid/widget/ListView;

    iget-object v1, p0, Ladapter/FramentOrder11111;->ca:Ladapter/PupCarAdapter11;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 1035
    iget-object v0, p0, Ladapter/FramentOrder11111;->ca:Ladapter/PupCarAdapter11;

    invoke-virtual {v0}, Ladapter/PupCarAdapter11;->notifyDataSetChanged()V

    .line 1037
    return-void
.end method

.method public search(Ljava/lang/String;)I
    .locals 4
    .param p1, "goodsid"    # Ljava/lang/String;

    .prologue
    .line 683
    const/4 v0, 0x0

    .line 684
    .local v0, "ind":I
    iget-object v1, p0, Ladapter/FramentOrder11111;->helper:Lmyclass/DBOpenHelper;

    invoke-virtual {v1}, Lmyclass/DBOpenHelper;->getReadableDatabase()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v1

    .line 685
    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "select * from cart where goodsid="

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x0

    .line 684
    invoke-virtual {v1, v2, v3}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v1

    iput-object v1, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    .line 686
    iget-object v1, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    invoke-interface {v1}, Landroid/database/Cursor;->getCount()I

    move-result v1

    if-lez v1, :cond_1

    .line 687
    :goto_0
    iget-object v1, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    invoke-interface {v1}, Landroid/database/Cursor;->moveToNext()Z

    move-result v1

    if-nez v1, :cond_0

    .line 695
    :goto_1
    iget-object v1, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    invoke-interface {v1}, Landroid/database/Cursor;->close()V

    .line 696
    return v0

    .line 688
    :cond_0
    iget-object v1, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    iget-object v2, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    .line 689
    const-string v3, "goodscount"

    invoke-interface {v2, v3}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v2

    .line 688
    invoke-interface {v1, v2}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v0

    .line 690
    const-string v1, "\u5546\u54c1\u4e2a\u6570"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    goto :goto_0

    .line 693
    :cond_1
    const-string v1, "\u6ca1\u6709\u6570\u636eLuis"

    const-string v2, ""

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    goto :goto_1
.end method

.method public searchCar(Ljava/lang/String;)I
    .locals 5
    .param p1, "shopid"    # Ljava/lang/String;

    .prologue
    .line 706
    iget-object v1, p0, Ladapter/FramentOrder11111;->db:Landroid/database/sqlite/SQLiteDatabase;

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "select * from cart where shopid ="

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x0

    invoke-virtual {v1, v2, v3}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v1

    iput-object v1, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    .line 707
    const/4 v0, 0x0

    .line 708
    .local v0, "total":I
    iget-object v1, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    invoke-interface {v1}, Landroid/database/Cursor;->getCount()I

    move-result v1

    if-lez v1, :cond_0

    .line 709
    :goto_0
    iget-object v1, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    invoke-interface {v1}, Landroid/database/Cursor;->moveToNext()Z

    move-result v1

    if-nez v1, :cond_1

    .line 713
    :cond_0
    const-string v1, "\u8d2d\u7269\u8f66\u6570\u91cf"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 715
    iget-object v1, p0, Ladapter/FramentOrder11111;->order_num:Lorg/com/cctest/view/BadgeView;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lorg/com/cctest/view/BadgeView;->setText(Ljava/lang/CharSequence;)V

    .line 717
    return v0

    .line 710
    :cond_1
    iget-object v1, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    iget-object v2, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    const-string v3, "goodscount"

    invoke-interface {v2, v3}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v2

    invoke-interface {v1, v2}, Landroid/database/Cursor;->getInt(I)I

    move-result v1

    iget-object v2, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    iget-object v3, p0, Ladapter/FramentOrder11111;->cursor:Landroid/database/Cursor;

    const-string v4, "pnum"

    invoke-interface {v3, v4}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v3

    invoke-interface {v2, v3}, Landroid/database/Cursor;->getInt(I)I

    move-result v2

    add-int/2addr v1, v2

    add-int/2addr v0, v1

    goto :goto_0
.end method
